import path from "path";
import { XlsxBuilder } from "./XlsxBuilder";
import { Xlsx } from "./out/Xlsx";
import { readFileSync } from "fs";
import kcoder from "k-coder";

const xlsxDir = path.resolve(__dirname, "../xlsx");
const outDir = path.resolve(__dirname, "out");

new XlsxBuilder(xlsxDir, outDir, outDir, "c").build();

// Xlsx.init(kcoder);
// Xlsx.load(readFileSync(path.resolve(outDir, "data.bin")));
// console.log(XTemplate.get(1,1).numArr2);

